package com.itheima.service;

import com.itheima.pojo.Emp;
import com.itheima.pojo.PageBean;
import com.itheima.pojo.Student;

import java.util.List;
import java.util.Map;

public interface StudentService {
    //分页查询
    PageBean queryString(Integer page, Integer pageSize, String name, String no, Integer degree, Integer clazzId);

    //删除学员
    void delete(List<Integer> ids);

    //添加学员
    void add(Student student);

    //根据id查询
    Student geById(Integer id);

    //修改学员
    void updateById(Student student);

    //违纪处理
    void violation(Integer id, Integer score);

    //学员人数统计
    Map<String, List<Object>> getStudentData();
}
